import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  assetsInclude: ['**/*.PNG', '**/*.png'],
  resolve:{
    alias:{
      '@': '/src'
    }
  },
  optimizeDeps: {
    exclude: ['pdfjs-dist'] // 添加pdfjs-dist到exclude数组
  }
})
